package com.hongye.proprietary.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hongye.common.utils.PageUtils;
import com.hongye.common.utils.Query;

import com.hongye.proprietary.dao.PayUserDao;
import com.hongye.proprietary.entity.PayUserEntity;
import com.hongye.proprietary.service.PayUserService;


@Service("payUserService")
public class PayUserServiceImpl extends ServiceImpl<PayUserDao, PayUserEntity> implements PayUserService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<PayUserEntity> page = this.page(
                new Query<PayUserEntity>().getPage(params),
                new QueryWrapper<PayUserEntity>()
        );

        return new PageUtils(page);
    }

}